package com.example.demo.mapper;

import com.example.demo.pojo.Course;
import com.example.demo.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface TeacherMapper {
     Teacher getTeacherByUid(@Param("uid") String uid);
     Teacher  getCourse(@Param("tid") int tid);
     void insertTeacher(@Param("teacherList") List<Teacher> teacherList);
     Teacher selectTest(Map<String,Object> map);
}
